package ExerciseFoure;

public class Manger extends Employee{

	private double bonus;
	
	public Manger()
	{
		
	}
	
	public Manger(String name,int id,double salary,double bonus)
	{
		super(name, id, salary);
		this.bonus = bonus;
	}

	@Override
	public void work() {
		System.out.println("管理好一线员工");
		
	}

	
	@Override
	public String toString() {
		return "Manger [bonus=" + bonus + "]";
	}
	
	
}
